Skip to content

docs(badge): web-first#4797

Merged
mimarz merged 20 commits intomainfrom
docs-web-first-badge
May 5, 2026
Merged

docs(badge): web-first#4797
mimarz merged 20 commits intomainfrom
docs-web-first-badge

Conversation

@mimarz
Copy link
Copy Markdown
Collaborator

@mimarz mimarz commented Apr 27, 2026

Summary by CodeRabbit

  • Documentation
    • Improved badge component documentation with clearer guidance, examples, and formatting
    • Updated accessibility guidelines and code usage instructions in both English and Norwegian
    • Reorganized documentation structure with improved section flow and terminology consistency
    • Enhanced code examples demonstrating badge usage patterns

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 27, 2026

⚠️ No Changeset found

Latest commit: 7c7b8cd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Preview deployments for this pull request:

www - 4. May 2026 - 16:42

mimarz and others added 2 commits April 28, 2026 09:46
Co-authored-by: Copilot <copilot@github.com>
@mimarz mimarz force-pushed the docs-web-first-badge branch from 7ab7297 to e2a0dcf Compare April 28, 2026 07:46
mimarz and others added 3 commits April 28, 2026 10:24
Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Badge component documentation to be more “web-first”, emphasizing HTML/CSS usage alongside React.

Changes:

  • Reworks Badge code docs to include HTML-first usage guidance and CSS variables/data-attributes sections (NO/EN).
  • Updates overview and accessibility copy (NO/EN).
  • Adjusts Badge component metadata subtitles.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
apps/www/app/content/components/badge/no/overview.mdx Updates Norwegian overview wording and component references.
apps/www/app/content/components/badge/no/code.mdx Reorganizes Norwegian code docs to document HTML/CSS usage and keeps React docs later.
apps/www/app/content/components/badge/no/accessibility.mdx Updates Norwegian accessibility guidance wording.
apps/www/app/content/components/badge/metadata.json Updates metadata subtitles for NO/EN.
apps/www/app/content/components/badge/en/overview.mdx Updates English overview wording and component references.
apps/www/app/content/components/badge/en/code.mdx Reorganizes English code docs to document HTML/CSS usage and keeps React docs later.
apps/www/app/content/components/badge/en/accessibility.mdx Updates English accessibility guidance wording.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/www/app/content/components/badge/no/accessibility.mdx Outdated
Comment thread apps/www/app/content/components/badge/en/accessibility.mdx Outdated
Comment thread apps/www/app/content/components/badge/no/overview.mdx
Comment thread apps/www/app/content/components/badge/metadata.json
Comment thread apps/www/app/content/components/badge/no/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/no/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/no/code.mdx
Comment thread apps/www/app/content/components/badge/no/overview.mdx
Comment thread apps/www/app/content/components/badge/no/overview.mdx
Comment thread apps/www/app/content/components/badge/no/code.mdx Outdated
mimarz and others added 5 commits April 28, 2026 11:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
@mimarz mimarz requested a review from Copilot April 28, 2026 13:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/www/app/content/components/badge/metadata.json
Comment thread apps/www/app/content/components/badge/no/accessibility.mdx
Comment thread apps/www/app/content/components/badge/en/overview.mdx
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/no/overview.mdx
Comment thread apps/www/app/content/components/badge/no/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/no/code.mdx Outdated
mimarz and others added 6 commits April 28, 2026 16:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mimarz mimarz marked this pull request as ready for review April 28, 2026 14:35
@mimarz mimarz requested a review from oddvernes as a code owner April 28, 2026 14:35
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Comment thread apps/www/app/content/components/badge/en/code.mdx Outdated
Co-authored-by: Tobias Barsnes <tobias.barsnes@digdir.no>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1cb80f2d-67b5-4e65-aa20-cbecd8e4ea85

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs-web-first-badge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mimarz mimarz merged commit 175021f into main May 5, 2026
9 checks passed
@mimarz mimarz deleted the docs-web-first-badge branch May 5, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants